<template>
	<view>
		<view class="content">
		<view class="u-flex user-box u-p-l-30 u-p-r-20 u-p-b-30">
			<view class="u-m-r-10">
				<u-avatar src="http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg" size="140"></u-avatar>
			</view>
			<view class="u-flex-1">
				<view class="u-font-18 u-p-b-20">人和</view>
				<view class="u-font-14 u-tips-color">账号:18812345678</view>
			</view>
			<view class="u-m-l-10 u-p-10">
				<u-icon name="arrow-right" color="#969799" size="28"></u-icon>
			</view>
		</view>
			<!-- 主体部分 -->
			<view class="list">
	          <u-cell-group>
		      <u-cell-item v-for="(item,index) in list" :key="index" :icon="item.icon" :title="item.text"></u-cell-item>
	       </u-cell-group>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/mengdianguanli.png',
						text:'门店管理'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/woderenzhen.png',
						text:'我的认证'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/xiaochengxu.png',
						text:'我的小程序'
					},
                    {
                        icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/woDeShangHuHao.png',
                        text:'我的商户号'
                    },
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/feedback.png',
						text:'问题反馈'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/updatePWD.png',
						text:'修改密码'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/yongHuXieYi.png',
						text:'用户协议'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/yinSiXieYi.png',
						text:'隐私协议'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/aboutUS.png',
						text:'关于我们'
					},
					{
						icon:'https://xssc-1308572366.cos.ap-guangzhou.myqcloud.com/tuichu.png',
						text:'退出登录'
					},
				]
			}
		},
		methods: {

		}
	}
</script>
<style>
	page{
		background: #f5f5f5;
	}
</style>
<style lang="scss" scoped>
	.content {
		.topBox {
			position: relative;
			display: flex;
			font-size: 14px;
			align-items: center;
			padding: 0 3%;
			background: #fff;

			.leImg {
				width: 60px;

				image {
					width: 100%;
					border-radius: 22px;
				}
			}

			.userMessage {
				margin-left: 10px;

				.name {
					margin-bottom: 20px;
				}
			}

		}

		.list {
			margin-top: 10px;
			padding: 0 3%;
			background: #fff;

			.listBox {
				display: flex;
				height: 100rpx;
				align-items: center;
				border-bottom: 1rpx solid #F5F5F5;

				image {
					width: 50rpx;
				}

				.title {
					margin-left: 10px;
				}

				.rightj {
					flex: 1;
					text-align: -webkit-right;
				}
			}
		}
	}
</style>
